@import 'base.scss';
$border-color:#f1f1f1;
$text-color:#686868;

@mixin border-bottom() {
    border-bottom: 8px solid $border-color;
}

.detail {

    .van-nav-bar__text,
    .van-nav-bar .van-icon {
        color: #ffffff !important;
    }

    .detail-nav {
        background: transparent;
        color: #ffffff;
        // position: fixed;
        // background-color: rgba(255, 255, 255, 0.185);
        .nav-btn-bookshelf{
            padding: 0px 10px;
            border: 1px solid #fff;
            border-radius: 2px;
        }
    }

    header {
        position: relative;
        height: 125px;
        padding: 60px 15px 0px 15px;

        .book-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            filter: blur(15px);
            z-index: -1;
        }
    }
}

.book-info {
    .info-coverimg {
        width: 100%;
        height: 115px;
        margin: 0 auto;
    }

    .info-txt {
        height: 121px;
        color: #ffffff;

        .title {
            font-size: 16px;
            margin-bottom: 10px;
        }

        .txt {
            margin-bottom: 5px;
        }
    }
}


// 
// 
.detail-service {

    background-color: #fff;
    @include border-bottom();

    // border-bottom: 10px solid $border-color;
    .service-btn {
        display: flex;
        justify-content: center;
        padding: 10px 0px;
    }
}

.detail-desc {
    color: $text-color;
    @include border-bottom();
    padding: 0px 5px;

    .desc-title {
        font-size: 16px;
        padding: 10px 0px;
        font-weight: 550;
    }

    .desc-txt {
        padding: 5px 0px;
        line-height: 16px;
    }

}

.detail-catalog {
    @include border-bottom();
    padding: 0px 5px;

    .catalog-title {
        font-size: 16px;
        padding: 10px 0px;
        font-weight: 550;
        color: $text-color;
    }

    .catalog-newinfo {
        cursor: pointer;
        display: flex;
        padding: 5px 10px 10px 10px;
        justify-content: space-between;
        align-items: center;

        .btn {
            font-size: 20px;
        }

        .newinfo-center {
            flex: 1;
            padding: 0px 20px;

            .time {
                color: $text-color;
            }
        }
    }
}

.detail-comment {
    // @include border-bottom();
    padding: 0px 5px;
    @include border-bottom();

    .comment-title {
        font-size: 16px;
        padding: 10px 0px;
        font-weight: 550;
        color: $text-color;
        display: flex;
        justify-content: space-between;
    }

    .comment-list {
    }

    .comment-item {
        border-bottom: 1px solid $border-color;
        .account-info {
            display: flex;
            justify-content: space-between;
            align-items: center;

            .center {
                flex: 1;
                padding-left: 10px;
            }

            >img {
                width: 35px;
                height: 35px;
                border-radius: 50%;
            }

            .btn {
                display: flex;
                align-items: center;
                line-height: 20px;

                .icon-btn {
                    font-size: 20px;

                }
            }

        }

        .item-txt {
            padding: 5px 0px;
            color: $text-color;
        }
    }
}

